function FindProxyForURL(url, host) {
    //   if (shExpMatch(url,"*.google.com/*")) {
    //     return "PROXY 192.168.1.1:3128";
    //   }

    if (host == 'music.163.com' || host == 'interface.music.163.com' || host == 'interface3.music.163.com' || host == 'apm.music.163.com' || host == 'apm3.music.163.com' || host == '45.254.48.1' || host == '101.71.154.241' || host == '59.111.160.195' || host == '59.111.19.33' || host == '118.24.63.156' || host == '193.112.159.225' || host == '39.105.63.80' || host == '39.105.175.128' || host == '182.92.170.253' || host == '47.100.127.239' || host == '115.236.118.33' || host == '240e:f7:4019:3::2' || host == '240e:f7:4019:53::2' || host == '2408:8740:c1fc:204::2' || host == '2408:8740:c1fc:302::2' || host == '115.236.121.1') {
        return "SOCKS5 127.0.0.1:10088; DIRECT";
    }

    if ( shExpMatch(url, "*huobi.com*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*speedtest*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*right.com.cn*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*telegram*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*fbcdn*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*facebook*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*v2ex*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*medium*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if ( shExpMatch(url, "*rfi.fr*") ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if (shExpMatch(url, "*twitter.com*") || shExpMatch(url, "*twimg.com*") || shExpMatch(url, "*api.twitter.com*") || shExpMatch(url, "*t.co*")
    
     || shExpMatch(url, "*cn.wsj.com*")

    ) {
        return "SOCKS5 127.0.0.1:7890; DIRECT";
    }

    if (shExpMatch(url, "http://192.168*")) {
        return "SOCKS5 127.0.0.1:10088";
    }
//
    if (isInNet(host, "192.168.0.0", "255.255.255.0")) {
        return "SOCKS5 127.0.0.1:10088; DIRECT";
    }
    
    return "DIRECT; SOCKS5 127.0.0.1:7890; SOCKS5 127.0.0.1:10088";
}